package cc.openkit.admin.dao;

import cc.openkit.admin.model.ShopBrand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Component
public interface ShopBrandMapper extends Mapper<ShopBrand> {
    //查询所有品牌列表
    List<ShopBrand> findModelPageListByWhere(@Param("shopBrand") ShopBrand shopBrand);
    //根据Id关联分类表 查询单个品牌
    ShopBrand findModelById(@Param("id") String id);
}